package ex_1_synchronizedMethodLockObject;

public class ThreadA extends Thread{
    private MyObject myObject;

    public ThreadA(MyObject myObject){
        this.myObject = myObject;
    }

    @Override
    public void run() {
        myObject.methodA();
    }
}
